home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 2.iso / STUTTGART / LANG / C / LIB / DESK / CORE / Desk / h_doc / Pointer < prev    next >
Text File  |  1996-05-21  |  2KB  |  74 lines

  1. /*
  2.     ####             #    #     # #
  3.     #   #            #    #       #          The FreeWare C library for
  4.     #   #  ##   ###  #  # #     # ###             RISC OS machines
  5.     #   # #  # #     # #  #     # #  #   ___________________________________
  6.     #   # ####  ###  ##   #     # #  #
  7.     #   # #        # # #  #     # #  #    Please refer to the accompanying
  8.     ####   ### ####  #  # ##### # ###    documentation for conditions of use
  9.     ________________________________________________________________________
  10.  
  11.     File:    Pointer.h
  12.     Author:  Copyright © 1994 Lee Atkinson
  13.     Version: 1.00 (28 Sep 1994)
  14.     Purpose: high level pointer handling routines
  15. */
  16.  
  17. #ifndef __Desk_Pointer_h
  18. #define __Desk_Pointer_h
  19.  
  20. #ifdef __cplusplus
  21. extern "C" {
  22. #endif
  23.  
  24. #ifndef __Desk_Core_h
  25.     #include "Desk.Core.h"
  26. #endif
  27.  
  28. #ifndef __Desk_Icon_h
  29.     #include "Desk.Icon.h"
  30. #endif
  31.  
  32. #ifndef __Desk_Window_h
  33.     #include "Desk.Window.h"
  34. #endif
  35.  
  36.  
  37. extern void    Desk_Pointer_RestrictToWindow(Desk_window_handle window);
  38. /*
  39.   Purpose:  - Restricts pointer to window
  40.   Inputs:   - window - handle of window which is restricted to
  41.   Returns:  - pointer to Desk_os_error
  42. */
  43.  
  44.  
  45. extern void    Desk_Pointer_RestrictToIcon(Desk_window_handle window, Desk_icon_handle icon);
  46. /*
  47.   Purpose:  - Restricts pointer to icon
  48.   Inputs:   - window - handle of window which icon belongs to
  49.               icon   - handle of icon which is restricted to
  50.   Returns:  - pointer to Desk_os_error
  51. */
  52.  
  53.  
  54. extern void    Desk_Pointer_RestrictToRect(Desk_wimp_rect rect);
  55. /*
  56.   Purpose:  - Restricts pointer to rectangle
  57.   Inputs:   - rect - rectangle definition
  58.   Returns:  - pointer to Desk_os_error
  59. */
  60.  
  61.  
  62. extern void    Desk_Pointer_Unrestrict(void);
  63. /*
  64.   Purpose:  - Unrestricts pointer
  65.   Returns:  - pointer to Desk_os_error
  66. */
  67.  
  68. #ifdef __cplusplus
  69. }
  70. #endif
  71.  
  72.  
  73. #endif
  74.